package com.ilink.teacherservice.service.bailian;


/**
 * <h3>new-ilink-java-backend</h3>
 *
 * @Description
 * @Author pengshiyao
 * @Date 2024-09-16 16:22
 **/
import com.aliyun.bailian20231229.models.CreateIndexResponse;

import java.util.List;

public interface CreateIndexService {
    CreateIndexResponse createIndex(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType, String embeddingModelName,
        String rerankModelName, double rerankMinScore, Integer chunkSize, Integer overlapSize,
        String sourceType, List<String> documentIds, List<String> categoryIds, String sinkType, String description) throws Exception;
    CreateIndexResponse createIndex(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType,
        String sourceType, List<String> documentIds, List<String> categoryIds, String sinkType) throws Exception;

    CreateIndexResponse createIndexWithDoc(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType,
        List<String> documentIds, String sinkType) throws Exception;

    CreateIndexResponse createIndexWithCat(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType,
        List<String> categoryIds, String sinkType) throws Exception;
}